package com.xgpro.mobile.message.service.impl;

import com.xgpro.mapper.message.MessageMapper;
import com.xgpro.mapper.message.UserMsgMapper;
import com.xgpro.mobile.message.service.UserMsgService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * @program: xgpro__dev
 * @description: 消息服务实现类
 * @author: likai
 * @create: 2019-09-27 02:08
 **/
@Service
@Transactional
public class UserMsgServiceImpl implements UserMsgService {

    @Resource
    private UserMsgMapper userMsgMapper;
    @Override
    public int deleteByTime(String format) {
        return userMsgMapper.deleteByTime(format);
    }
}
